﻿
/****** Object:  User Defined Function dbo.FiscalQtr    Script Date: 10/14/2009 10:39:06 PM ******/

CREATE FUNCTION [dbo].[FiscalQtr] (@FiscalWeek int)  
RETURNS int AS  
BEGIN 

return ((dbo.FiscalMonth(@FiscalWeek) - 1)/3 + 1)

END














